package cc.mcggdd.leah.boot.stock.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.math.BigDecimal;
import jakarta.validation.constraints.*;

/**
 * 银证转账表单对象
 *
 * @author zifeng
 * @since 2025-02-07 10:03
 */
@Getter
@Setter
@Schema(description = "银证转账表单对象")
public class StockTransferForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "转账日期")
    @NotNull(message = "转账日期不能为空")
    private LocalDate tranDate;

    @Schema(description = "转账金额")
    @NotNull(message = "转账金额不能为空")
    private BigDecimal amount;


}
